﻿using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ToolRental.Model
{
    public class MyDataContext : DbContext
    {
        public MyDataContext()
            : base("name=DefaultConnection")
        {
        }
        public DbSet<UserProfile> UserProfiles { get; set; }
        public DbSet<ToolType> ToolTypes { get; set; }
        public DbSet<Tool> Tools{ get; set; }
        public DbSet<Borrow> Borrows {get;set; }
        public DbSet<Order> Orders { get; set; }
    }
}
